package team.hyznrj.studentsys.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.math.BigDecimal;

/**
 * 数据库实体类
 * 业务层交互使用
 * academicYear 和 curriculumNature 为 Integer
 * @author ReMidDream
 * @date 2018-03-27 13:56
 **/
@Data
@Entity
@AllArgsConstructor
@NoArgsConstructor
public class CourseAchievement {

    @Id
    private String id;
    /** 学生学号 */
    private String studentId;
    /** 课程名称 */
    private String courseTitle;
    /** 课程学分*/
    private BigDecimal courseCredit;
    /** 备注 */
    private String remarks;
    /** 折算成绩 */
    private BigDecimal convertMark;
    /** 绩点 */
    private BigDecimal courseGradePoint;
    /** 课程性质 */
    private Integer curriculumNature;
    /** 学年 */
    private Integer academicYear;
    /** 学期 */
    private Integer schoolTerm;
    /** 数据状态 0:无效 1:有效 */
    private Integer status = 1;

    private String userId;
}
